/*
 * Powered By [rapid-framework]
 * Web Site: http://www.rapid-framework.org.cn
 * Google Code: http://code.google.com/p/rapid-framework/
 * Since 2008 - 2016
 */

package com.jzwl.site.manager.comment.pojo;

import com.jzwl.system.base.pojo.BasePojo;


public class SiteArticleComment extends BasePojo implements java.io.Serializable{
	
	private static final long serialVersionUID = 5454155825314635342L;
	
	//alias
	public static final String TABLE_ALIAS = "SiteArticleComment";
	public static final String ALIAS_CID = "评论id";
	public static final String ALIAS_ARTICLE_ID = "文章id";
	public static final String ALIAS_CONTENT = "评论内容";
	public static final String ALIAS_IS_PASS = "是否审核通过";
	public static final String ALIAS_CREATE_TIME = "创建时间";
	public static final String ALIAS_IS_DELETE = "是否删除";
	
	//date formats
	public static final String FORMAT_CREATE_TIME = DATE_FORMAT;
	

	//columns START
    /**
     * 评论id       db_column: cid 
     */ 	
	private java.lang.Long cid;
    /**
     * 文章id       db_column: articleId 
     */ 	
	private java.lang.Long articleId;
    /**
     * 评论内容       db_column: content 
     */ 	
	private java.lang.String content;
    /**
     * 是否审核通过       db_column: isPass 
     */ 	
	private java.lang.Integer isPass;
    /**
     * 创建时间       db_column: createTime 
     */ 	
	private java.util.Date createTime;
    /**
     * 是否删除       db_column: isDelete 
     */ 	
	private java.lang.Integer isDelete;
	//columns END

	
	
	public void setCid(java.lang.Long value) {
		this.cid = value;
	}
	
	public java.lang.Long getCid() {
		return this.cid;
	}
	
	
	
	
	


	public java.lang.Long getArticleId() {
		return this.articleId;
	}
	
	public void setArticleId(java.lang.Long value) {
		this.articleId = value;
	}
	

	public java.lang.String getContent() {
		return this.content;
	}
	
	public void setContent(java.lang.String value) {
		this.content = value;
	}
	

	public java.lang.Integer getIsPass() {
		return this.isPass;
	}
	
	public void setIsPass(java.lang.Integer value) {
		this.isPass = value;
	}
	

	public String getCreateTimeString() {
		return dateToStr(getCreateTime(), FORMAT_CREATE_TIME);
	}
	public void setCreateTimeString(String value) {
		setCreateTime(strToDate(value, java.util.Date.class,FORMAT_CREATE_TIME));
	}

	public java.util.Date getCreateTime() {
		return this.createTime;
	}
	
	public void setCreateTime(java.util.Date value) {
		this.createTime = value;
	}
	

	public java.lang.Integer getIsDelete() {
		return this.isDelete;
	}
	
	public void setIsDelete(java.lang.Integer value) {
		this.isDelete = value;
	}
	

}

